package com.divine.wn.car.admin.service;

import java.util.HashMap;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.divine.wn.car.admin.persistence.BackUserMapper;
import com.divine.wn.car.admin.vo.BackUserVO;

@Service
public class BackUserService {
	@Autowired
	private BackUserMapper backUserMapper;
	
	//@Transactional  在需要事务的时候加上这个标签。
	
	public BackUserVO getBackUser(BackUserVO  backUser){
		return backUserMapper.getBackUser(backUser);
	}
	
	
	
	public List<HashMap<String,Object>> getXDY(HashMap<String,Object> map){
		return backUserMapper.getXDY(map);
	}
	
public void updatePassword(BackUserVO  backUserVO){
		
		backUserMapper.updatePassword(backUserVO);
	}
}
